package com.bootdo.wx.service;

import com.bootdo.common.utils.R;
import com.bootdo.wx.domain.MemberExtractDO;
import com.github.pagehelper.PageInfo;

import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 用户提现表
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-06-15 15:07:28
 */
public interface MemberExtractService {
	
	MemberExtractDO get(String id);
	
	List<MemberExtractDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(MemberExtractDO memberExtract);
	
	int update(MemberExtractDO memberExtract);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	PageInfo<MemberExtractDO> getExtractList(Map<String, Object> map);

	R goExtract(Map<String, Object> map);

	List<Map<String,Object>> getList(Map<String, Object> map);

	int getListCount(Map<String, Object> map);

	R shen(MemberExtractDO memberExtractDO);

	void exportExcel(List<Map<String,Object>> userList, ServletOutputStream out,HttpServletRequest request);

	BigDecimal getNumByUserT(Map<String, Object> map);
}
